window.addEventListener('DOMContentLoaded',function(){
    let bth=document.querySelector('button');
    bth.addEventListener('click',function(){
        console.log(this);
    })
})